class Vehicle {
    String vnum;
    int speed;
    double loadWeight;
    Vehicle(){
        vnum="XX1234";
        speed=100;
        loadWeight=100;
    }
    Vehicle(String vnum , int speed , double loadWeight){
        this.vnum=vnum;
        this.speed=speed;
        this.loadWeight=loadWeight;
    }
    void speedUp(){
        speed++;
    }
    void speedDown(){
        speed--;
    }
    void changeVnum(String vnum){
        this.vnum=vnum;
    }
    double browLoadWeight(){
        return loadWeight;
    }
}
public class Main{
    public static void main(String[] args) {
        Vehicle v1 = new Vehicle();
        v1.changeVnum("京NR9L66");
        v1.speedUp();

        Vehicle v2 = new Vehicle("京P5086",150,200);
        v2.speedDown();

        System.out.println("v1的车牌号为："+v1.vnum+" v1的车速为："+v1.speed+" v1的载重量为："+v1.browLoadWeight());
        System.out.println("v2的车牌号为："+v2.vnum+" v1的车速为："+v2.speed+" v1的载重量为："+v2.browLoadWeight());

    }
}
